/*
 * @Author: liyin 2179253556@qq.com
 * @Date: 2023-03-20 15:06:01
 * @LastEditors: liyin 2179253556@qq.com
 * @LastEditTime: 2025-07-15 08:59:03
 * @FilePath: Upload.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// 引入请求方式
import { get, post, put, delete2 } from '../../util/http'
export const getSignApi = (obj?: any) => post('/admin/getOssSignature/', obj)
export const getOSS = (url: string, obj?: any, config?: any) => post(url, obj, config)
export const getOSSCallBack = (obj?: any) => post('/admin/getOssObjectMess/', obj)
// 批量上传图片
export const batchUploadImg = ( obj?: any, config?: any) => post('/admin/publish/upload', obj, config)
// 大文件分段上传
export const largeUpload = ( obj?: any, config?: any) => post('/admin/publish/largeUpload', obj, config)